package SingletonPattern.exercise5_1;

public class Main {
    public static void main(String[] args) {
        TicketMaker maker = TicketMaker.getInstance();
        for(int i = 0;i < 50;i++){
            System.out.println(maker.getNextTicketNumber());
        }
    }
}
